<?php


namespace app\common\model;

use think\Model;

class Massage extends Basemodel
{

    protected $autoWriteTimestamp = true;
    protected $insert = ['status' => 0,'ip'];
    protected $update = [];

    public function setIpAttr()
    {
        return request()->ip();
    }

}